.X-Modal.ant-modal-wrap {
  .ant-modal-content {
    height: auto;
    overflow: auto;

    .ant-modal-body {
      height: auto;
      overflow: auto;
      padding: 0 20px 20px 20px;
    }

    .ant-modal-header {
      padding: 20px 20px 40px 0;
      border: 0;
    }

    .ant-modal-footer {
      //position: absolute;
      padding: 15px 20px 30px;
      width: 100%;
      //right: 0;
      //bottom: 0;
      border: 0;

      div {
        display: flex;
        align-items: center;
        justify-content: center;

        button + button {
          margin-left: 10px;
        }

        .ant-btn {
          display: inline-block;
          padding: 8px 28px;
          font-size: 12px;
          line-height: 16px;
          text-align: center;
          font-family: PingFangSC-Semibold, Microsoft YaHei, serif;
          font-weight: normal;
          border-radius: 4px;
          cursor: pointer;
          user-select: none;
          border: 1px solid #dddfe8;
          background: #ffffff;
          color: #545466;
          box-shadow: none;
          text-shadow: none;

          &:hover {
            background-color: #f3f4f6;
            border: 1px solid #f3f4f6;
            transition: 0.2s;
            box-shadow: none;
            text-shadow: none;
          }
        }

        .ant-btn-primary {
          border: 1px solid #447df1;
          background: #447df1;
          color: #ffffff;

          &:hover {
            background-color: #6294f8;
            transition: 0.2s;
            box-shadow: none;
            text-shadow: none;
          }
        }
      }
    }
  }
}

.X-short-modal {
  .ant-modal-content {
    min-height: 326px;
  }

  .ant-modal-body {
    min-height: 210px;
  }
}
